import React from 'react';

const AliSvg = (props) => {
  const { href, size = '2em' } = props;

  return (
    <svg className="ali-icon" aria-hidden="true" style={{ width: size, height: size }}>
      <use href={'#icon-' + href}></use>
    </svg>
  );
};

export default AliSvg;
